package com.xu.sso.db.dao;

import com.xu.sso.db.dao.base.UserMapper;
import com.xu.sso.db.model.base.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserExMapper extends UserMapper {

    User selectUserByApp(@Param("username") String username, @Param("appId") String appId);

    List<User> selectAppUsersByLike(@Param("username") String username, @Param("appId") String appId);

    List<User> selectUsersByApp(String appId);

    List<User> selectUsersNotInApp(String appId);

}